package client04;

import java.util.Arrays;

/**
 * @author cs
 * @date 2021/3/21 11:47
 */
public class Test {

    public static void main(String[] args) {
        int i = 1;
        String s = "hello";
        Integer n = new Integer(200);
        int[] arr = {1, 2, 3, 4, 5};
        MyData my = new MyData();
        change(i, s, n, arr, my);
        System.out.println(i);
        System.out.println(s);
        System.out.println(n);
        System.out.println(Arrays.toString(arr));
        System.out.println(my.a);
    }

    public static void change(int i, String s, Integer n, int[] a, MyData m) {
        i += 1;
        s += "world";
        n += 1;
        a[0] += 1;
        m.a += 1;
    }



}
